$OpenBSD: patch-mono_metadata_class_c,v 1.8 2015/01/17 12:24:25 robert Exp $
--- mono/metadata/class.c.orig	Mon Jan 12 18:15:08 2015
+++ mono/metadata/class.c	Sat Jan 17 12:34:41 2015
@@ -1931,7 +1931,9 @@ mono_class_layout_fields (MonoClass *class)
 					field->offset &= ~(align - 1);
 				}
 				/*TypeBuilders produce all sort of weird things*/
-				g_assert (image_is_dynamic (class->image) || field->offset > 0);
+				/*can't have this assert on 2.6 since its SRE has much more trouble handl
+				 * ing inflated types in SRE context.*/
+				/*g_assert (image_is_dynamic (class->image) || field->offset > 0);*/
 				real_size = field->offset + size;
 			}
 
